package com.ljc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy(exposeProxy = true) // 解决同类方法调用时异步和事务不生效
@MapperScan("com.ljc.mapper") // 开启mapper包扫描
@SpringBootApplication
public class LemonCommentApplication {
    public static void main(String[] args) {
        SpringApplication.run(LemonCommentApplication.class, args);
    }
}
